/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | foam-extend: Open Source CFD                    |
|  \\    /   O peration     | Version:     4.1                                |
|   \\  /    A nd           | Web:         http://www.foam-extend.org         |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    location    "system";
    object      controlDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

application     porousGasificationFoam;

startFrom       startTime;

startTime       0; 

stopAt          endTime;

endTime         4000;

deltaT          0.001; 

writeControl    adjustableRunTime;

writeInterval   100;

purgeWrite      0;

writeFormat     ascii;

writePrecision  8;

writeCompression uncompressed;

timeFormat      general;

timePrecision   6;

runTimeModifiable yes;

adjustTimeStep yes;

maxCo      5; 

maxDi      5000;

functions
(
    probes
    {
        type            probes;
        functionObjectLibs ("libsampling.so");
        enabled         true;
        outputControl   timeStep;
        outputInterval  10;
        probeLocations
        (
            (0.01 0 1e-6)
            (0.01 0 1e-2)
            (0.01 0 2.01e-2)
            (0.01 0 3e-2)
            (0.01 0 4e-2)
            (0.01 0 5e-2)
            (0.01 0 6e-2)
            (0.01 0 7e-2)
            (0.01 0 8e-2)
            (0.01 0 10e-2)
            (0.01 0 11e-2)
            (0.01 0 12e-2)
            (0.01 0 13e-2)
            (0.01 0 14e-2)
            (0.01 0 15e-2)
            (0.01 0 15.99e-2)
            (0.01 0 17e-2)
        );
        fields
        (
            O2
            N2
            CO
            Ts
            T
            p
            Ywood
            Yash
            porosityF
            rhos 
            Msolidtotal
            Srho
        );
    }
);

// ************************************************************************* //
